#ifndef USERDELEGATE_H
#define USERDELEGATE_H

#include <QObject>
#include <QAbstractItemDelegate>
#include "dataview/basedelegate.h"

class UserDelegate:public QAbstractItemDelegate
{
public:
    explicit UserDelegate(QObject* parent=0);


    // QAbstractItemDelegate interface
public:
    void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const;


    // QAbstractItemDelegate interface
    QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const;
};

#endif // USERDELEGATE_H
